package com.os.start.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 描述:
 *
 * @author Matt
 * @create 2021-05-09 21:47
 */
@Configuration
@ConfigurationProperties(prefix = "com.os.hello")
@PropertySource(value="classpath:resource.properties")
public class Resource {

    private String name;
    private String webSite;
    private String language;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWebSite() {
        return webSite;
    }

    public void setWebSite(String webSite) {
        this.webSite = webSite;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

}
